package com.joint.base.service;

import com.joint.base.entity.*;

import java.util.List;
import java.util.Set;


/**
 * Service接口 - 组织
 * ============================================================================
 * 版权所有 2013
 * ----------------------------------------------------------------------------
 * 
 * @author
 * 
 * @version 0.1 2013-05-09
 */

public interface StepBriefService extends BaseEntityService<StepBrief, String> {

    public StepBrief getInfoByStepNo(ProcessBrief processBrief, int stepNo);

    public StepBrief getInfoByCommonConfig(CommonConfig commonConfig);

    //根据职责来获得特殊流程设定的用户
    public List<Users> findSpecailByUser(StepBrief stepBrief, Duty duty);
    //获得特定职责
    public Set<Duty> findSpecialByDuty(StepBrief stepBrief, Duty duty);
}